import java.util.Arrays;

public class Solution1317 {
    public int[] getNoZeroIntegers(int n) {
        for (int i=1;i<n;i++){
            if (!String.valueOf(i).contains("0") && !String.valueOf(n-i).contains("0")){
                return new int[]{i,n-i};
            }
        }
        return null;
    }

    public static void main(String[] args) {
        System.out.println(Arrays.toString(new Solution1317().getNoZeroIntegers(10000)));
    }
}
